package com.xxx.rpc.sample.server.remote.impl;

import com.xxx.rpc.common.annos.Reference;
import com.xxx.rpc.sample.remote.HelloService;
import com.xxx.rpc.sample.remote.WarpRpcService;
import com.xxx.rpc.server.RpcService;


@RpcService(value = WarpRpcService.class)
public class WarpRpcServiceImpl implements WarpRpcService {
    @Reference//(version = "sample.hello2")
	private HelloService helloService;
	@Override
	public String warp(int a,int b) {
		return helloService.hello("mix") + "warp rest="+(a+b);
	}
}
